<template>
	<view class="box">
		<view class="row">
			第3步：联系人信息
		</view>
		<view class="row_title">
			联系人姓名
			<view class="focus">
				*
			</view>
		</view>
		  <u-input
		    placeholder="请输入姓名"
		    v-model="form.name"
		  ></u-input>
		<view class="row_title">
			联系人手机号
			<view class="focus">
				*
			</view>
		</view>
		  <u-input
		    placeholder="请输入手机号"
		    v-model="form.name"
		  ></u-input>
		  <view class="row_title">
		  	联系人身份证号
		  	<view class="focus">
		  		*
		  	</view>
		  </view>
		    <u-input
		      placeholder="请输入手身份证号"
		      v-model="form.name"
		    ></u-input>
			<view class="row_title">
				实际联系地址
				<view class="focus">
					*
				</view>
			</view>
			  <u-input
			    placeholder="请输入联系地址"
			    v-model="form.name"
			  ></u-input>
			  <view class="row_title">
			  	联系人身份证证件
			  </view>
			  <view class="row_title">
			  	正面
			  	<view class="focus">
			  		*
			  	</view>
			  </view>
			  <u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple
			  	:maxCount="1" accept="image"></u-upload>
				<view class="row_title">
					反面
					<view class="focus">
						*
					</view>
				</view>
				<u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple
					:maxCount="1" accept="image"></u-upload>
					<view class="row_title">
						手持身份证(正面)
						<view class="focus">
							*
						</view>
					</view>
					<u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple
						:maxCount="1" accept="image"></u-upload>
					<view class="row_title">
						人脸认证
						<view class="focus">
							*
						</view>
					</view>	
					<view class="button_box">
						<u-button type="primary" text="去认证" size="small"></u-button>
					</view>	
				<view class="button_box" @click="submit">
					<u-button type="primary" text="立即提交" size="small"></u-button>
				</view>		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fileList1: [],
				form:{
					name:'',
				}
			}
		},
		methods: {
			//新增图片
			afterRead(){
				
			},
			//删除图片
			deletePic(){
				
			},
			submit(){
				uni.reLaunch({
					url:'../home/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.box{
		width: 100%;
		height: 100%;
		padding-left: 30rpx;
		padding-right: 30rpx;
		box-sizing: border-box;
		.row{
			padding-top: 30rpx;
			padding-bottom: 40rpx;
		}
		.row_title{
			display: flex;
			align-items: center;
			padding: 30rpx 0;
			.focus{
				color: red;
			}
		}
		.button_box{
			width: 18%;
			margin: 30rpx 0;
		}
	}
</style>
